package com.zhixi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@EnableCaching   //开启缓存
@SpringBootApplication
@MapperScan("com.zhixi.mapper")
public class SpringbootSpringcacheRedisApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootSpringcacheRedisApplication.class, args);
        System.out.println("启动成功-------------------------------->");
    }
}
